package com.typs.android;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

import com.typs.android.DCZ_typs.AddWidget;
import com.typs.android.DCZ_typs.FoodBean;
import com.typs.android.DCZ_typs.ListContainer;

public class MainActivity extends AppCompatActivity implements AddWidget.OnAddClick{
    private ListContainer listContainer;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        listContainer = (ListContainer) findViewById(R.id.listcontainer);
        listContainer.setAddClick(this);
    }

    @Override
    public void onAddClick(View view, FoodBean fb) {

    }

    @Override
    public void onSubClick(FoodBean fb) {

    }
}
